﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ELab.QuestionAnwer;
using ELab.Serialization.Data;

namespace ELab.Teacher.Controls
{
    public partial class ctrlAnswer : UserControl
    {
        public ctrlAnswer()
        {
            InitializeComponent();
        }
        public Answer GetAnswer()
        {
            return new Answer()
            {
                 AnswerValue = txtAnswer.Text,
                 IsRightAnwer = cbRightAnswer.Checked
            };
        }
    }
}
